Skip to content

Add an automated, monthly release workflow.#233

Merged
fruffy merged 3 commits intop4lang:mainfrom
Anamika1608:automated-monthly-releases-final
Mar 20, 2026
Merged

Add an automated, monthly release workflow.#233
fruffy merged 3 commits intop4lang:mainfrom
Anamika1608:automated-monthly-releases-final

Conversation

@Anamika1608
Copy link
Contributor

@Anamika1608 Anamika1608 commented Mar 10, 2026

closes p4lang/project-ideas#41

similar to what we have in p4c, this adds automated monthly releases with changelog generation.

adds three new files:

  • ci-auto-release.yml runs on the 1st of each month, bumps Version.txt, and opens a release pr
  • ci-release.yml triggers when Version.txt changes on main, creates a git tag and github release with auto-generated notes
  • release.yml configures changelog categories based on pr labels

the created v* tag will also automatically trigger the existing pypi.yml workflow, so pypi publishing stays in sync without any changes.

tested on fork and verified end to end.

Signed-off-by: Anamika AggarwaL <anamikaagg18@gmail.com>
@Anamika1608 Anamika1608 force-pushed the automated-monthly-releases-final branch from 2678823 to 8e29ca8 Compare March 10, 2026 17:57
Copy link
Contributor

@fruffy fruffy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we making sure that this is only triggered when we have new commits?

Signed-off-by: Anamika AggarwaL <anamikaagg18@gmail.com>
@chreekat
Copy link

@Anamika1608 looks like your last commit is missing the signed-off-by 🙈

Signed-off-by: Anamika AggarwaL <anamikaagg18@gmail.com>
@Anamika1608 Anamika1608 force-pushed the automated-monthly-releases-final branch from aa6b348 to ddd0f2f Compare March 19, 2026 21:10
@Anamika1608
Copy link
Contributor Author

@fruffy , can you look now (sorry for the late reply, i was busy in my exams)

@fruffy fruffy changed the title add automated monthly release workflows Add an automated, monthly release workflow. Mar 20, 2026
@fruffy fruffy merged commit 46da7eb into p4lang:main Mar 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set up monthly releases for more P4lang repositories

3 participants